({
  appDir: 'app/',
  baseUrl: 'js',
  shim: {
    backbone: ['underscore', 'jquery'],
  },
  paths: {
    moment: 'lib/moment.min',
    wx: 'lib/jweixin-1.0.0',
    jquery: 'lib/jquery-1.8.3.min',
    backbone: 'lib/backbone-min',
    underscore: 'lib/underscore-min',
    vue: 'lib/vue/vue.min',
    // Require.js plugins
    text: 'lib/require/text',
    // Just a short cut so we can put our html outside the js dir
    // When you have HTML/CSS designers this aids in keeping them out of the js directory
    tmpl: '../tmpl',
    util: 'ext/util',
    service: 'ext/service',
    vm: 'ext/vm',
    event: 'ext/event'
  },
  dir: 'dist/',
  modules: [{ name: 'main' }]
})
